package com.puppy.service;

import com.puppy.pojo.Dept;

import java.util.List;

public interface DeptService {

    List<Dept> findAll();

    void deleteById(Integer id);

    void addByName(Dept dept);

    Dept getById(Integer id);

    void updateById(Dept dept);
}
